package com.cg.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 作品
 * </p>
 *
 * @author 加
 * @since 2025-01-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("work")
@ApiModel(value="Work对象", description="作品")
public class Work implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "work_id", type = IdType.AUTO)
    private Long workId;

    @ApiModelProperty(value = "作品名称")
    private String workName;

    @ApiModelProperty(value = "省市区")
    private Long cityId;



    @ApiModelProperty(value = "照片")
    private String picture;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "现存数量")
    private Long stock;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty(value = "数据类型")
    private Long dataId;

    @ApiModelProperty(value = "起源地")
    private String cityName;

    @ApiModelProperty(value = "作品类型")
    private Long typeId;

    private Long videoId;


}
